import React, {Component} from 'react';
import {Route, Switch} from 'react-router-dom';
import TechnicalService from './technical_service';
import TechnicalServiceDetail from './technical_service_details.js';

export default class Technical extends Component {

    render() {
        return (
            <div className="education-set-goverment technical-service-set">
                <div className="education-set row">
                    <div className="text-center">
                        <h2>技术服务</h2>
                        <div className="welding-set-gutter-line">
                            <hr/>
                            <span/>
                            <hr/>
                        </div>
                        <h3>TECHNICAL SERVICE</h3></div>
                </div>
                <Switch>
                    <Route path="/technical" exact component={TechnicalService}/>
                    <Route path="/technical/detail" exact component={TechnicalServiceDetail}/>
                </Switch>
            </div>
        );
    }
}